package com.vm.activity;

import com.wwt.app.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

/**   
 *  
 * @ProjectName:  [WeiMai] 
 * @Author:       [kent.wang]
 * @CreateDate:   [2015年3月18日 下午5:01:01]   
 * @Version:      [v1.0] 
 *    
 */
public class OrderSuccessActivity extends Activity{

	ImageView imgbtn_search_back;
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.order_successful);
		init();
	}
	
	/**
	 * 初始化
	 */
	private void init() {
		imgbtn_search_back = (ImageView) findViewById(R.id.imgbtn_search_back);
		imgbtn_search_back.setOnClickListener(btn_backListener);
	}
	
	/**
	 * imgbtn_search_back 返回按钮监听
	 */
	OnClickListener btn_backListener = new OnClickListener() {

		@Override
		public void onClick(View v) {
			onBackPressed();
		}
	};

	/**
	 * 手机自带返回按钮监听
	 */
	@Override
	public void onBackPressed() {
		super.onBackPressed();
	}

}
